import { createApp } from 'vue'
import './style/common.less'
import router from '@/router';
import App from './App.vue'
// import store from './store/index.js';
import { createPinia } from 'pinia'
import SvgIcon from '@/components/SvgIcon/index.vue'// svg component
// import './router/permission'
import 'virtual:svg-icons-register'
// import { getDicts } from "@/api/dict.js";


const app = createApp(App);

// app.config.globalProperties.getDicts = getDicts

app.component('svg-icon', SvgIcon)
const pinia = createPinia()

app.use(pinia)
// app.use(store)
app.use(router);

app.mount('#app');
